Skip to content

Bump Google_GenerativeAI from 3.6.8 to 4.0.1 - #803

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/Google_GenerativeAI-4.0.1
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/Google_GenerativeAI-4.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 18, 2026

Copy link
Copy Markdown
Contributor

Updated Google_GenerativeAI from 3.6.8 to 4.0.1.

Release notes

Sourced from Google_GenerativeAI's releases.

4.0.0

Google GenerativeAI .NET SDK 4.0.0

Version 4.0 is a major release. It brings the SDK in line with the latest Gemini API and Vertex AI capabilities, adds .NET 10 and .NET 11 support, and introduces a fully rewritten set of documentation.

[!IMPORTANT]
This release contains breaking changes. Review the Migration Guide before upgrading from 3.x.


Highlights

  • Interactions API. Stateful model and agent interactions with streaming, background execution and automatic continuation.
  • Expanded Live API. Ephemeral tokens, session resumption, manual activity detection, realtime text and video input, context updates, and Lyria RealTime music generation.
  • File Search. Managed retrieval-augmented generation with File Search stores.
  • Operational APIs. Webhooks, model tuning, and the agent APIs: decisions, voices, agents, environments, triggers and credentials.
  • Current models. Constants for the latest Gemini models. Retired models are marked [Obsolete], and each message names its replacement.
  • Modern .NET. New net10.0 and net11.0 targets, plus updated, security-patched dependencies.

New features

Gemini API

  • Interactions API: create, stream, get and delete interactions, with background runs, WaitForCompletionAsync and automatic continuation.
  • File Search: manage stores, upload and import documents, and ground responses with UseFileSearch.
  • Webhooks: create, list, update, ping and delete webhooks, rotate signing secrets, and configure webhooks per batch job.
  • Model Tuning: create, monitor and cancel tuning jobs on the Gemini API and Vertex AI.
  • Agent APIs: decisions, voice design, agents, environments with file transfer, triggers and credentials.
  • Files: register Cloud Storage objects without re-uploading them, and download generated files.
  • Models: update and delete tuned models, and compute tokens on Vertex AI.
  • New request options: ServiceTier, Store, Labels, ModelArmorConfig and ResponseFormat, plus additional built-in tools.

Multimodal Live API (Google_GenerativeAI.Live)

  • Ephemeral authentication tokens for client-side connections.
  • Session resumption and context window compression.
  • Manual activity detection, realtime text and video input, and audio stream control.
  • Context updates during a session, and input and output transcription settings.
  • LiveMusicClient for Lyria RealTime music generation.

Vertex AI

  • RAG Engine configuration: GetEngineConfigAsync, UpdateEngineConfigAsync and SwitchToServerlessModeAsync.
  • Embeddings with gemini-embedding-001 and text-embedding-005, including task types and output dimensionality.
  • Veo video generation sends every option: audio, last frame, reference images, masks and compression quality.

Platform

  • Target frameworks: .NET 6, 7, 8, 9, 10 and 11, .NET Standard 2.0, and .NET Framework 4.6.2.
  • Structured API error parsing: ApiException exposes ErrorCode, ErrorStatus and ErrorMessage.
  • The GOOGLE_GENAI_API_VERSION environment variable selects the API version.
  • Every new type is registered for System.Text.Json source generation, so NativeAOT and trimming keep working.

... (truncated)

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: Google_GenerativeAI
  dependency-version: 4.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Nov 18, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .net code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants